package net.akkz.dao;

import net.akkz.dbFactory.Session;
import net.akkz.exception.BuildClassError;
import net.akkz.exception.SQLExcuteException;
import net.akkz.model.Student;

public interface StudentDao
{
	public void activeStudent(Session session, int studentId) throws SQLExcuteException;
	
	public Student getStudent(Session session, int studentId) throws SQLExcuteException, BuildClassError;
	
	public Student getStudent(Session session, String studentName) throws SQLExcuteException, BuildClassError;
	
	public void updateStudent(Session session, Student student) throws SQLExcuteException;
	
	public void register(Session session, Student student) throws SQLExcuteException;
}
